package patterns.actions.command.gui;

import javax.swing.JButton;

public class Exit extends JButton implements MyCommand {

	Exit(String name) {
		super(name);
	}

	@Override
	public void execute() {

		System.exit(0);
	}

}
